.document {
    width: 100%;
    height: calc(100% - 28px);
    margin: 0px;
    margin-bottom: 8px;
    padding: 0px;
    overflow: hidden;
    border-radius: 3px;
}
.document-flow {
    height: 100%;
    width: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: auto;
    overflow-y: hidden;
    box-sizing: border-box;
    columns: 25rem;
    column-fill: auto;
    column-gap: 0rem;
}
/* An attempt at giving padding to the last column. Only works in Firefox: */
.document-flow::after {
    content: '';
    display: inline-block;
    width: calc(100% + 5rem);
}
.document-flow p {
    line-height: normal;
}
.document-flow p span.database-table {
    cursor: default;
    height: 21px;
    line-height: 21px;
    padding-right: 2px;
}
.document-flow p span.database-table-remarks{
    width: 100%;
    display: inline-block;
    color: darkgray;
    font-size: 12px;
    text-align: left;
    padding-left: 18px;
}
.document-flow p span.am-active {
    color: #fff;
    background-color: #194DB7;
}